$f: 19.2;

body [aos] {
  -webkit-transition-duration: 2.5s;
  transition-duration: 2.5s;
  -webkit-transition-timing-function: cubic-bezier(.175, .885, .32, 1.275);
  transition-timing-function: cubic-bezier(.175, .885, .32, 1.275);
}


.header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: all 600ms;

  .box {
    padding: 27/$f+vw 145/$f+vw 27/$f+vw 100/$f+vw;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .l {
      .logo {
        img {
          width: 82/$f+vw;
          display: block;
          object-fit: cover;
        }
      }
    }

    .links {
      display: flex;
      align-items: center;

      a {
        color: rgba(0, 0, 0, 0.9);
        font-size: 18/$f+vw;
        position: relative;

        &:not(:first-child) {
          margin-left: 120/$f+vw;
        }

        &::after {
          content: '';
          display: block;
          position: absolute;
          left: 50%;
          bottom: -1px;
          transform: translateX(-50%);
          width: 0;
          height: 1px;
          background: #000;
          transition: all 600ms;
        }

        &:hover {
          &::after {
            width: 100%;
          }
        }
      }

      .on {
        &::after {
          width: 100%;
        }
      }

      .contact {
        border-radius: 30/$f+vw;
        background: #3FAEEE;
        padding: 10/$f+vw 16/$f+vw;
        color: #FFF;
        font-size: 14/$f+vw;
        text-transform: capitalize;
        transition: all 600ms;

        &:hover {
          background: #000;
        }

        &::after {
          display: none;
        }
      }
    }
  }
}

.hasBg{
  background: rgba(255, 255, 255, 0.7);
}


.pheader {
  display: none;
  position: fixed;
  top: 0;
  height: 60px;
  width: 100%;
  left: 0;
  z-index: 1002;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1);

  .menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;

    .l {
      display: flex;
      align-items: center;

      a {
        margin-left: 20px;
        // transform: translateY(2px);

        img {
          height: 30px;
          object-fit: contain;
        }
      }

    }



    .navbox {
      margin-right: 20px;
      transition: all 600ms;

      .line {
        width: 30px;
        height: 1px;
        background-color: #000;
        margin: 8px 0;
        -webkit-transition: all .6s;
        transition: all .6s;
      }
    }

    .activeBox {
      transform: translateX(10px);

      .line:nth-child(1) {
        transform: rotate(45deg) translateY(12px);
      }

      .line:nth-child(2) {
        transform: translateX(30px);
        opacity: 0;
      }

      .line:nth-child(3) {
        transform: rotate(-45deg) translateY(-12px);
      }
    }
  }
}

.menuList {
  position: fixed;
  left: 0;
  top: 59px;
  width: 100%;
  z-index: 1001;
  background: #ececec;
  display: none;
  height: calc(100vh - 59px);

  .lan {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;

    a {
      color: #646464;
      margin-left: 10px;
    }

    .active {
      font-weight: bolder;
      color: #000000;
    }
  }

  .item {
    //background: rgba(255,255,255,.8);
    padding: 1rem;
    background: #ececec;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);

    a {
      color: #000;
      display: block;
      position: relative;
      text-transform: capitalize;

      img {
        position: absolute;
        right: 0;
        width: 20px;
        transition: all 600ms;
        top: 5px;
      }

      .icon2 {
        position: static;
        width: auto;
        margin-right: 10px;
      }

      .rotate {
        transform: rotate(90deg);
      }
    }

    .tb {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;

      a {
        // width: 100%;
        display: block;
      }

      img {
        width: 30px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        transition: all 600ms;
      }

      .rotate {
        transform: translateY(-50%) rotate(90deg);
      }
    }

    .types_top {
      display: none;

      a {
        font-size: 14px;
        margin-top: 15px;
      }
    }
  }
}

.activeList {
  transform: translateY(0);
}

.foot {
  .dom1 {
    padding: 68/$f+vw 240/$f+vw 58/$f+vw 240/$f+vw;
    display: flex;
    justify-content: space-between;

    .l {
      .logo {
        img {
          width: 80/$f+vw;
          display: block;
        }
      }

      .email {
        display: flex;
        margin-top: 24/$f+vw;

        .icon {
          svg {
            width: 16/$f+vw;
            height: 16/$f+vw;
            display: block;
          }
        }

        p {
          color: rgba(0, 0, 0, 0.9);
          font-size: 14/$f+vw;
          margin-left: 4/$f+vw;
        }

        &:last-child {
          margin-top: 18/$f+vw;
        }
      }
    }

    .media {
      .p1 {
        margin-top: 12/$f+vw;
        color: rgba(0, 0, 0, 0.9);
        font-size: 16/$f+vw;
        font-weight: 600;
        line-height: 1.25;
        margin-bottom: 20/$f+vw;
      }

      a {
        display: flex;
        align-items: center;

        img {
          width: 14/$f+vw;
          height: 14/$f+vw;
          display: block;
        }

        p {
          margin-left: 16/$f+vw;
          color: rgba(0, 0, 0, 0.90);
          font-size: 14/$f+vw;
        }
      }
    }

    .quilf {
      .p1 {
        margin-top: 12/$f+vw;
        color: rgba(0, 0, 0, 0.9);
        font-size: 16/$f+vw;
        font-weight: 600;
        line-height: 1.25;
        margin-bottom: 20/$f+vw;
      }

      .pics {
        display: flex;

        a {
          img {
            width: 141/$f+vw;
            display: block;
          }

          &:not(:last-child) {
            margin-right: 40/$f+vw;
          }
        }
      }
    }

    .great {
      .p1 {
        width: 100/$f+vw;
        background: rgba(0, 0, 0, 0.90);
        color: #FFF;
        font-size: 20/$f+vw;
        padding: 10/$f+vw;
      }
      .p2{
        position: relative;
        width: 100/$f+vw;
        background: url(../images/bg.svg) no-repeat;
        background-size: 100% 100%;
        background-position: center center;
        height: 70/$f+vw;
        p{
          color:rgba(0, 0, 0, 0.9);
          position: absolute;
          left: 50%;
          top:38%;
          width: 100%;
          text-align: center;
          font-size: 18/$f+vw;
          transform: translate(-50%,-50%)
        }
      }
    }
  }

  .dom2 {
    padding: 22/$f+vw 240/$f+vw;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .l {
      display: flex;

      p,
      a {
        color: rgba(0, 0, 0, 0.6);
        font-size: 14/$f+vw;
      }

      a {
        margin-left: 50/$f+vw;
        transition: all 600ms;
        &:hover{
          color:#000;
        }
      }
    }

    .r {
      display: flex;

      a {
        color: rgba(0, 0, 0, 0.6);
        font-size: 14/$f+vw;
        transition: all 600ms;
        &:hover{
          color:#000;
        }
        &:first-child {
          margin-right: 20/$f+vw;
        }
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  .header {
    display: none;
  }

  .pheader {
    display: flex;
  }
  .foot{
    .dom1{
      padding: 20px 5%;
      flex-direction: column;
      .l{
        width: 100%;
        .logo{
          img{
            width: auto;
            height: 50px;
          }
        }
        .email{
          margin-top: 15px !important;
          .icon{
            svg{
              width: 16px;
              height: 16px;
            }
          }
          p{
            font-size: 16px;
            margin-left: 5px;
          }
        }
      }
      .media{
        margin: 20px 0;
        .p1{
          font-size: 24px;
          margin-bottom: 15px;
        }
        a{
          img{
            width: 14px;
            height: 14px;
          }
          p{
            margin-left: 10px;
            font-size: 16px;
          }
        }
      }
      .quilf{
        .p1{
          font-size: 24px;
          margin-bottom: 15px;
        }
        .pics{
          a{
            &:not(:last-child){
              margin-right: 15px;
            }
            img{
              width: 100px;
            }
          }
        }
      }
      .great{
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        display: none;
        .p1{
          width: 100px;
          font-size: 16px;
          padding: 10px;
        }
        .p2{
          width: 100px;
          height: 70px;
          p{
            font-size: 16px;
          }
        }
      }
    }
    .dom2{
      flex-direction: column;
      padding: 15px 5%;
      line-height: 1.5;
      .l{
        flex-direction: column;
        text-align: center;
         p,a{
          font-size: 16px;
         }
      }
      .r{
        a{
          font-size: 16px;
          &:first-child{
            margin-right: 10px;
          }
        }
      }
    }
  }
}